.PHONY:all
all:mytest mythread

mytest:test.cpp
	g++ -o $@ $^
mythread:mythread.cpp
	g++ -o $@ $^ 

.PHONY:clean
clean:
	rm -f mythread mytest
